﻿/*초기화*/
* {margin: 0; padding: 0; font-family:나눔고딕;}
html, body {height: 100%;}
a {text-decoration: none; color: black;}
#main_footer > small > span {margin: 0 5px;}
li {list-style:none;}   

/*layout*/  
#main_header {
    height: 95px;
    position: relative;
    background-color: greenyellow;
        
    border: 1px solid black;
}
    #main_header > #main_gnb {
        position: absolute;
        text-align: center;
        right: 0; top: 0;
    }
#main_gnb:hover {background-color: tomato;}
    #main_header > #main_lnb {
        position: absolute;
        text-align: right;
        right: 0; bottom: 0;
    }
#title {position: relative;}
    #title > h1 {
        bottom: 0; left: 0;
        margin: 5px; 
        height: 45px; 
        line-height: 45px; 
        width: 135px;
        border: 1px solid black;
    }
    #title > h2 {
        position: absolute;
        text-align: center;
        height: 35px;
        line-height: 35px;
        border: 1px solid black;
    }
nav h1 {
    border: 1px solid black;
}

#content {
    height: 100%;
    overflow: hidden;
    margin: 5px 0;
    background-color: greenyellow;
    border: 1px solid black;
}
#main_section {margin-top: 10px;}
#main_section > h1 {
    height: 65px;
    line-height: 65px;
    font-size: 2em;
    padding-left: 20px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: greenyellow;
}
#main_section_body {
    margin-top: 10px;
    padding: 15px; border-radius: 10px; border: 1px solid black;
    background-color: white;
}
#main_aside {background-color: greenyellow;}
#main_aside > h1 {font-size: 2em;}
#main_aside > img {}

#main_footer {
    text-align: right;
    height: 30px;
    border: 1px solid black;
    background-color: #a7a7a7;
    padding: 15px;
}
#main_footer > small {margin-right: 50px; font-weight: bolder;}


/*detail*/
#aside_list {width: 100%; border: 1px solid black; border-radius: 5px;}

#aside_list .aside_menu {
    line-height: 35px;
    font-size:large;
    text-align:center;
    font-weight: bolder;
    color: black;
    height:35px;
    background: greenyellow;
    cursor:pointer;
    position: relative;   
}
#aside_list .aside_menu:first-child {border-radius: 5px 5px 0 0;}
#aside_list .aside_menu:last-child {border-radius: 0 0 5px 5px;}
#aside_list .aside_menu:hover {background-color: tomato;}
#aside_list .aside_menu img {line-height: 35px; position: absolute; right: 5px; top: 12px;}

#aside_list ul li:hover {background-color: lightgreen;}
#aside_list .sub {
    margin: 0;
    background: #D4D0C8;
}
#aside_list .sub a {
    font-weight: bold;
    line-height: 35px;
    height: 35px;
    margin:0;
    text-align:center;
}
